package com.woniu.commentorder.service.serviceImp;

import com.hc.entity.PayRecord;
import com.woniu.commentorder.mapper.PayRecordMapper;
import com.woniu.commentorder.service.PayRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PayRecordServiceImp implements PayRecordService {
    @Autowired
    private PayRecordMapper payRecordMapper;
    @Override
    public int add(PayRecord payRecord) {
        payRecordMapper.insert(payRecord);
        return payRecord.getId();
    }


}
